<?xml version="1.0" encoding="UNICODE"?>
<FLOW>

	<PACKAGE_INSTALL>
	</PACKAGE_INSTALL>
	
	
	
	<SILENT_INSTALL>
		<COMMAND cmd="set_setup_type" param0="INSTALL" />
		<COMMAND cmd="set_install_mode" param0="SILENT_INST" />
		<COMMAND cmd="WRITE_ITEM_INFO" /> 
		<COMMAND cmd="copy_all_files" /> 		
		<COMMAND cmd="install" dwparam="1"/>
		<COMMAND cmd="system_install_update" />		
	<!--	<COMMAND cmd="refresh_system" />	-->		
	</SILENT_INSTALL>
	
	
	
	<SILENT_UNINSTALL>		
		<COMMAND cmd="set_setup_type" param0="UNINSTALL" />
		<COMMAND cmd="uninstall" dwparam="1"/>		
		<COMMAND cmd="system_uninstall_update" />		
	<!--	<COMMAND cmd="refresh_system" />	-->		
	</SILENT_UNINSTALL>


<!--
			*
			*
			*	cmd param0,1,2,3,4.  wparam
			*
			*
-->
			
			
	<INSTALL>

	 <!-- ************************************************************************** -->
		<COMMAND cmd="set_setup_type" param0="INSTALL" />
		
		<LABEL>WIRELESS_CI3_START</LABEL> 
			
		<SWITCH cmd="open_dlg" param0="START" step_dlg="TRUE">
							
		
			<!--
			*
			*
			*	Smart Installation
			*
			*
			-->
			<CASE value="0">
			
				<!-- History Panel Setting -->
				<COMMAND cmd="set_history" param0="SMART_INSTALL"/>
				
				
				<COMMAND cmd="set_history_section" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				<COMMAND cmd="open_dlg" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="FIND_PRINTER" step_dlg="TRUE"/>
				
				<LABEL>SMART_INSTALL_SEARCH</LABEL>
				
				<COMMAND cmd="set_install_mode" param0="SMART_INST" step_dlg="TRUE"/>	
				
				<SWITCH cmd="OPEN_DLG" param0="SEARCH_MODEL" param1="ALL" step_dlg="TRUE">
					
					<CASE value="0">  <!-- Not found	 -->	
										
						<SWITCH cmd="open_dlg" param0="MODEL_NOT_FOUND_SMARTINSTALL" step_dlg="FALSE" >															
							<CASE value="11"> <!--UnChecked : Search Again-->	
								<IF cmd="check_option" param0="network=TRUE" >
									<TRUE>
										<COMMAND cmd="OPEN_DLG" param0="FIREWALL_NOTICE" step_dlg="FALSE" />
									</TRUE>
								</IF>
								<GOTO>SMART_INSTALL_SEARCH</GOTO> 
							</CASE>
							
							<CASE value="12"> <!--UnChecked : Direct Input -->	
								<IF cmd="OPEN_DLG" param0="MANUAL_SEARCH_MODEL" param1="MAIN" step_dlg="TRUE">
									<TRUE>
										<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
									</TRUE>												
								</IF>
							</CASE>
														
							<DEFAULT>
								<IF cmd="find_local_printer" param0="SET_PORT">
									<TRUE>
										<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
									</TRUE>
								</IF>
							</DEFAULT>
							
						</SWITCH>
					</CASE>			
										
					<CASE value="1"> <!-- Found-->
						<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" param1="MAIN" step_dlg="TRUE"/>
					</CASE>		
					
					<!-- Direct Input -->	
					<CASE value="200"> 
						<IF cmd="OPEN_DLG" param0="MANUAL_SEARCH_MODEL" param1="MAIN" step_dlg="TRUE">
							<TRUE>
								<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
							</TRUE>												
						</IF>
					</CASE>
							
				</SWITCH>
				
		
				
				
				<COMMAND cmd="WRITE_ITEM_INFO" /> 
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="INSTALLATION" step_dlg="TRUE"/>
				
				<COMMAND cmd="open_dlg" param0="COPY_FILE"/> 
				
				<COMMAND cmd="open_dlg" param0="INSTALL"/> 
				
				
				<IF cmd="is_printer_installed">	
					<TRUE>				
						<IF cmd="is_connected">
							<TRUE>
								<LABEL>PRINT_TEST_PAGE</LABEL>
								
								<COMMAND cmd="diagnosis" />
								
								<IF cmd="open_dlg" param0="TEST_PAGE" step_dlg="TRUE">
									<TRUE>
										<IF cmd="open_dlg" param0="CONFIRM_TEST_PAGE"> 
											<FALSE>
												<GOTO>PRINT_TEST_PAGE</GOTO> 
											</FALSE>										
										</IF>
									</TRUE>								
								</IF>
								
				
								<!-- History Panel Section Setting -->				
								<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
								<COMMAND cmd="open_dlg" param0="FINISH"/>								
							</TRUE>
							<FALSE>
								<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
								<COMMAND cmd="open_dlg" param0="FINISH_WITHOUT_CONNECT"/>
							</FALSE>
						</IF>
					</TRUE>	
					
					<FALSE>
						<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
						<COMMAND cmd="open_dlg" param0="FINISH"/>						
					</FALSE>						
				</IF>
			</CASE>	
			
			
			
			
			<!--
			*
			*
			*	Custom Installation
			*
			*
			-->
			<CASE value="1">
			
				<COMMAND cmd="set_history" param0="CUSTOM_INSTALL"/>
				
				<COMMAND cmd="set_history_section" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				<COMMAND cmd="open_dlg" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="FIND_PRINTER" step_dlg="TRUE"/>
				
				<SWITCH cmd="open_dlg" param0="SELECT_CONNECTION" step_dlg="TRUE"> 
					 
					 <!-- Set IP -->	
					 <CASE value="100"> 	
						<LABEL>CUSTOM_SEARCH_WIRED_SETIP</LABEL>							
						<SWITCH cmd="OPEN_DLG" param0="SEARCH_MODEL" param1="SETIP" step_dlg="TRUE">
							<CASE value="0"> <!-- Not found	 -->						
								<SWITCH cmd="open_dlg" param0="MODEL_NOT_FOUND_SETIP" step_dlg="FALSE" >															
									<CASE value="11"> <!--UnChecked : Search Again-->	
										<COMMAND cmd="OPEN_DLG" param0="FIREWALL_NOTICE" step_dlg="FALSE" />
										<GOTO>CUSTOM_SEARCH_WIRED_SETIP</GOTO> 
									</CASE>
									
									<CASE value="12"> <!--UnChecked : Direct Input -->	
										<IF cmd="OPEN_DLG" param0="MANUAL_SEARCH_MODEL" param1="MAIN" step_dlg="TRUE">
											<TRUE>
												<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE" />
											</TRUE>												
										</IF>
									</CASE>
									
									<CASE value="1"> <!-- Found-->				
										<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE" />
									</CASE>
									
									<DEFAULT>
										<COMMAND cmd="OPEN_DLG" param0="FIREWALL_NOTICE" step_dlg="FALSE" />
										<GOTO>CUSTOM_SEARCH_WIRED_SETIP</GOTO> 
									</DEFAULT>
								</SWITCH>
							</CASE>	
								
							<CASE value="1"> <!-- Found-->				
								<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE" />
							</CASE>							
						</SWITCH>
					</CASE>
					
					<!-- USB -->
					<CASE value="0">								
				
						<LABEL>CUSTOM_SEARCH_USB</LABEL>
						
						<COMMAND cmd="set_install_mode" param0="CUSTOM_LOCAL_INST" />			
						
						<SWITCH cmd="OPEN_DLG" param0="SEARCH_MODEL_LOCAL" param1="LOCAL" step_dlg="TRUE">
							<CASE value="0"> <!-- Not found	 -->						
								<!--<COMMAND cmd="open_dlg" param0="MODEL_NOT_FOUND" step_dlg="FALSE" />-->
								<SWITCH cmd="open_dlg" param0="MODEL_NOT_FOUND_LOCAL" step_dlg="FALSE" >	
									<CASE value="11"> <!--UnChecked : Search Again-->											
										<GOTO>CUSTOM_SEARCH_USB</GOTO> 
									</CASE>
									<DEFAULT>
										<IF cmd="find_local_printer" param0="SET_PORT">
											<TRUE>
												<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
											</TRUE>
										</IF>
									</DEFAULT>
								</SWITCH>
							</CASE>			
							
							<CASE value="1"> <!-- Found-->				
								<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
							</CASE>		
						</SWITCH>
				
					</CASE>
					
					<!-- PARALLEL -->
					<CASE value="1">					
						
						<LABEL>CUSTOM_SEARCH_PARALLEL</LABEL>
						
						<COMMAND cmd="set_install_mode" param0="CUSTOM_LOCAL_INST" />
						
						<SWITCH cmd="OPEN_DLG" param0="SEARCH_MODEL_LOCAL" param1="LOCAL" step_dlg="TRUE">
							<CASE value="0"> <!-- Not found	 -->						
								<!-- <COMMAND cmd="open_dlg" param0="MODEL_NOT_FOUND" step_dlg="FALSE" /> -->
								<SWITCH cmd="open_dlg" param0="MODEL_NOT_FOUND_LOCAL" step_dlg="FALSE" >	
									<CASE value="11"> <!--UnChecked : Search Again-->											
										<GOTO>CUSTOM_SEARCH_PARALLEL</GOTO> 
									</CASE>
							<DEFAULT>
								<IF cmd="find_local_printer" param0="SET_PORT">
									<TRUE>
										<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
									</TRUE>
								</IF>
							</DEFAULT>
								</SWITCH>
							</CASE>			
							
							<CASE value="1"> <!-- Found-->				
								<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
							</CASE>		
						</SWITCH>
						
					</CASE>
					
					<!-- WIRED -->
					<CASE value="2">						
						
						<LABEL>CUSTOM_SEARCH_WIRED</LABEL>
						
						<COMMAND cmd="set_install_mode" param0="CUSTOM_NETWORK_INST" />
						
						<SWITCH cmd="OPEN_DLG" param0="SEARCH_MODEL" param1="NETWORK" step_dlg="TRUE">
							
							<CASE value="0">  <!-- Not found	 -->						
								<SWITCH cmd="open_dlg" param0="MODEL_NOT_FOUND" step_dlg="FALSE" >															
								<!-- UnChecked : Search Again-->
									<CASE value="11"> 
										<COMMAND cmd="OPEN_DLG" param0="FIREWALL_NOTICE" step_dlg="FALSE"/>
										<GOTO>CUSTOM_SEARCH_WIRED</GOTO> 
									</CASE>
									
									<!--UnChecked : Direct Input  -->
									<CASE value="12">	
										<IF cmd="OPEN_DLG" param0="MANUAL_SEARCH_MODEL" param1="MAIN" step_dlg="TRUE">
											<TRUE>
												<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
											</TRUE>												
										</IF>
									</CASE>
									
								</SWITCH>
							</CASE>			
							
							<CASE value="1"> <!-- Found-->				
								<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE" />
							</CASE>		
														
							<CASE value="200"> <!-- Direct Input -->	
								<IF cmd="OPEN_DLG" param0="MANUAL_SEARCH_MODEL" param1="MAIN" step_dlg="TRUE">
									<TRUE>
										<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
									</TRUE>												
								</IF>
							</CASE>
														
						</SWITCH>
						
					</CASE> <!-- WIRED End-->
					
				</SWITCH>
				
						
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="SELECT_FEATURES" step_dlg="TRUE"/>
								
				<SWITCH cmd="open_dlg" param0="SELECT_COMPONENTS" param1="INSTALL" step_dlg="TRUE">
					<CASE value="1">
						<COMMAND cmd="open_dlg" param0="SET_PRINTER_SETTING" param1="MAIN"/> 
					</CASE>
				</SWITCH> 
				
				<COMMAND cmd="WRITE_ITEM_INFO" param0="CUSTOM"/>
				
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="INSTALLATION" step_dlg="TRUE"/>
				
				<COMMAND cmd="open_dlg" param0="COPY_FILE"/>
				
				<COMMAND cmd="open_dlg" param0="INSTALL"/> 
				
				<IF cmd="is_printer_installed">	
					<TRUE>				
						<IF cmd="is_connected">
							<TRUE>
								<LABEL>CUSTOM_PRINT_TEST_PAGE</LABEL>
								
								<COMMAND cmd="diagnosis" />
								
								<IF cmd="open_dlg" param0="TEST_PAGE" step_dlg="TRUE">
									<TRUE>
										<IF cmd="open_dlg" param0="CONFIRM_TEST_PAGE"> 
											<FALSE>
												<GOTO>CUSTOM_PRINT_TEST_PAGE</GOTO> 
											</FALSE>										
										</IF>
									</TRUE>
								</IF>
									
									<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
									<COMMAND cmd="open_dlg" param0="FINISH"/>
							</TRUE>	
							<FALSE>
								<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
								<COMMAND cmd="open_dlg" param0="FINISH_WITHOUT_CONNECT"/>						
							</FALSE>
						</IF>
					</TRUE>
					
					<FALSE>
						<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
						<COMMAND cmd="open_dlg" param0="FINISH"/>						
					</FALSE>
				</IF>
				
				
			</CASE>	
			
			
			
			
			
			
			<!--
			*
			*
			*	Software only Installation
			*
			*
			-->
			<CASE value="2">
				
				<COMMAND cmd="stop_pnp_thread" /> 
				
				<COMMAND cmd="set_history" param0="SOFTWARE_ONLY_INSTALL"/>
				
				<COMMAND cmd="set_history_section" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				<COMMAND cmd="open_dlg" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				
				
				<COMMAND cmd="set_install_mode" param0="SOFTWARE_ONLY_INST" />				
								
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="SELECT_FEATURES" step_dlg="TRUE"/>
				
				<COMMAND cmd="open_dlg" param0="SELECT_COMPONENTS" param1="MAIN"/> 
				
				<COMMAND cmd="WRITE_ITEM_INFO" param0="CUSTOM"/>
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="INSTALLATION" step_dlg="TRUE"/>
				
				<COMMAND cmd="open_dlg" param0="COPY_FILE"/> 
				
				<COMMAND cmd="open_dlg" param0="INSTALL"/> 
				
		
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
				
				<COMMAND cmd="open_dlg" param0="FINISH"/>
			</CASE>
			
			
			
			
			
			
			
			
			<!--
			*
			*
			*	Remote Installation
			*
			*
			-->
			<CASE value="3">
			
				<COMMAND cmd="stop_pnp_thread" /> 
			
				<COMMAND cmd="set_history" param0="REMOTE_INSTALL"/>
				
				<COMMAND cmd="set_history_section" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				<COMMAND cmd="open_dlg" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="SELECT_CLIENT_GROUP" step_dlg="TRUE"/>				
								
				<LABEL>LABEL_REMOTE_GROUP</LABEL>
		
				<IF cmd="OPEN_DLG" param0="REMOTE_SELECT_GROUP" step_dlg="TRUE">
				
					<TRUE> <!-- Not found	 -->
					
						<COMMAND cmd="OPEN_DLG" param0="REMOTE_LOGIN" step_dlg="TRUE"/>
					
						<COMMAND cmd="OPEN_DLG" param0="REMOTE_SELECT_CLIENT" step_dlg="TRUE" />
						
						
						
						<SWITCH cmd="OPEN_DLG" param0="REMOTE_SELECT_FEATURES" param1="REMOTE" step_dlg="TRUE">
							
							<CASE value="0"> <!-- Exist Driver but Not support Configure	 -->						
								<GOTO>REMOTE_SELECT_CONNECTION_TYPE</GOTO>
							</CASE>	
							
							<CASE value="1"> <!-- Support Configure	 -->						
								<GOTO>REMOTE_SELECT_CONNECTION_TYPE</GOTO>
							</CASE>	
							
							<DEFAULT> 					
								<GOTO>REMOTE_CONFIRM_STEP</GOTO>
							</DEFAULT>	
						</SWITCH>
						
						
						<LABEL>REMOTE_SELECT_CONNECTION_TYPE</LABEL>
						
						<IF cmd="OPEN_DLG" param0="CUSTOM_SELECT_CONNECTION_TYPE" param1="REMOTE" step_dlg="TRUE">
						
							<IF cmd="OPEN_DLG" param0="CUSTOM_SEARCH_NETWORK_PRINTERS" step_dlg="TRUE">
								<TRUE>
									<LABEL>REMOTE_SEARCH_MODEL</LABEL>
									
									<SWITCH cmd="OPEN_DLG" param0="SEARCH_MODEL_WITHOUT_DIRECTINPUT" param1="NETWORK" step_dlg="TRUE">
									
										<CASE value="0"> <!-- Not found	 -->												
											<COMMAND cmd="open_dlg" param0="MODEL_NOT_FOUND_WITHOUT_DIRECT_INPUT" step_dlg="FALSE" />
										</CASE>			
								
										<CASE value="1"> <!-- Found-->				
											<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" param1="REMOTE" step_dlg="TRUE"/>
										</CASE>										
									
									</SWITCH>
								</TRUE>								
								<FALSE>
									<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" param1="REMOTE" step_dlg="TRUE"/>
								</FALSE>
							</IF>
						</IF>
						
						<LABEL>REMOTE_CONFIRM_STEP</LABEL>
						
						<COMMAND cmd="open_dlg" param0="REMOTE_CONFIRM" step_dlg="TRUE"/> 
					
						<GOTO>LABEL_REMOTE_GROUP</GOTO>
					
					</TRUE>
								
				</IF>
				
				
				<COMMAND cmd="open_dlg" param0="REMOTE_CONFIRM_ALL" step_dlg="TRUE"/> 
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="INSTALLATION" step_dlg="TRUE"/>
				
				
				<LABEL>LABEL_REMOTE_INSTALL</LABEL>
				
				<COMMAND cmd="open_dlg" param0="REMOTE_INSTALL"/> 
				
				<IF cmd="open_dlg" param0="REMOTE_RESULT" step_dlg="TRUE"> 
				
					<TRUE>
						<GOTO>LABEL_REMOTE_INSTALL</GOTO>
					</TRUE>
									
				</IF>
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
				
				<COMMAND cmd="open_dlg" param0="FINISH"/> 
					
			</CASE>
			
			
			
			
			
			
			<!--
			*
			*
			*	Custom Utility Installation
			*
			*
			-->
			<CASE value="4">
				<COMMAND cmd="stop_pnp_thread" /> 
			
				<COMMAND cmd="set_history" param0="CUSTOMIZE_UTIL"/>
				
				<COMMAND cmd="set_history_section" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				<COMMAND cmd="open_dlg" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="SELECT_PACKAGE_TYPE" step_dlg="TRUE"/>
				
				<COMMAND cmd="OPEN_DLG" param0="CUSTOM_SELECT_PACKAGE_TYPE" step_dlg="TRUE" />
		
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="SELECT_FEATURES" step_dlg="TRUE"/>
				
				<SWITCH cmd="OPEN_DLG" param0="CUSTOM_SELECT_FEATURES" step_dlg="TRUE">
					<CASE value="0"> <!-- Exist Driver but Not support Configure	 -->						
						<GOTO>CUSTOM_SELECT_CONNECTION_TYPE</GOTO>
					</CASE>	
					
					<CASE value="1"> <!-- Support Configure	 -->						
						<IF cmd="OPEN_DLG" param0="CUSTOM_DRIVER_CONFIGURATION" step_dlg="TRUE">
							<COMMAND cmd="OPEN_DLG" param0="CUSTOM_DRIVER_CONFIGURATION_WARNING"/>
						</IF>
					</CASE>	
					
					<CASE value="2"> <!-- Only application are selected	 -->						
						<GOTO>CUSTOM_SUMMARY</GOTO>
					</CASE>	
				</SWITCH>
				
				
				<LABEL>CUSTOM_SELECT_CONNECTION_TYPE</LABEL>
				
				<IF cmd="OPEN_DLG" param0="CUSTOM_SELECT_CONNECTION_TYPE" step_dlg="TRUE">
				
					<IF cmd="OPEN_DLG" param0="CUSTOM_SEARCH_NETWORK_PRINTERS" step_dlg="TRUE">
						<TRUE>
														
							<SWITCH cmd="OPEN_DLG" param0="SEARCH_MODEL_WITHOUT_DIRECTINPUT" param1="NETWORK" step_dlg="FALSE">
							
								<CASE value="0"> <!-- Not found	 -->						
									<COMMAND cmd="open_dlg" param0="MODEL_NOT_FOUND_WITHOUT_DIRECT_INPUT" step_dlg="FALSE" />
								</CASE>			
						
								<CASE value="1"> <!-- Found-->				
									<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" param1="CUSTOM" step_dlg="TRUE"/>
								</CASE>														
								
							</SWITCH>
						</TRUE>
						<FALSE>
							<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" param1="CUSTOM" step_dlg="TRUE"/>
						</FALSE>
					</IF>
				</IF>
				
				<COMMAND cmd="OPEN_DLG" param0="CUSTOM_SET_PRINTER_DRIVER" step_dlg="TRUE" />
				
				<LABEL>CUSTOM_SUMMARY</LABEL>			
				
				<COMMAND cmd="OPEN_DLG" param0="CUSTOM_SUMMARY" step_dlg="TRUE" />
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="PACKING" step_dlg="TRUE"/>
				
				<COMMAND cmd="OPEN_DLG" param0="CUSTOM_PACKING"/>
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
				
				<COMMAND cmd="OPEN_DLG" param0="CUSTOM_FINISH"/>
			</CASE>
			
			
			
			<!--
			*
			*
			*	Wireless Setting and Installtion
			*
			*
			-->
			<CASE value="5">
				<COMMAND cmd="set_history" param0="WSP_INSTALL"/>
				<COMMAND cmd="set_history_section" param0="WIRELESS_SETTING" step_dlg="TRUE"/>				
			
				<COMMAND cmd="set_install_mode" param0="CUSTOM_NETWORK_INST" />
				
				<COMMAND cmd="set_history_section" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				<COMMAND cmd="open_dlg" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				
										
				<!-- 
				=============================================================================== 
						Check Local Connection 
				===================================================================================
				--> 	
				<COMMAND cmd="wsp_initialize" />
									
				<SWITCH cmd="open_dlg" param0="WSP_SEARCH_MODEL">
					<CASE value="0">
						<GOTO>WIRELESS_CI3_GUIDE_CONNECTION</GOTO> 
					</CASE>
					
					<DEFAULT value="1">
						<GOTO>WIRELESS_CI3_CHECKING_DEVICE</GOTO> 
					</DEFAULT>
					
				</SWITCH>
				
				
				<!-- 
				=============================================================================== 
						Guide Device Connect 
				===================================================================================
				--> 

				<LABEL>WIRELESS_CI3_GUIDE_CONNECTION</LABEL> 
				
				<COMMAND cmd="OPEN_DLG" param0="WSP_CONNECT_DEVICE" /> 
				
				<LABEL>WIRELESS_CI3_SEARCH_USB_STEP</LABEL> 
				<SWITCH cmd="open_dlg" param0="WSP_SEARCH_MODEL">
					<!--  Not found --> 
					<CASE value="0">														
						<COMMAND cmd="OPEN_DLG" param0="WSP_MODEL_NOT_FOUND" /> 
						<GOTO>WIRELESS_CI3_SEARCH_USB_STEP</GOTO> 							
					</CASE>
					
					<!--  Found One and more --> 
					<DEFAULT value="1">							
						<GOTO>WIRELESS_CI3_CHECKING_DEVICE</GOTO> 
					</DEFAULT>							
				</SWITCH>

				<!-- 
				================================================================================== 
						Check Device 
				======================================================================================						
				--> 
				<LABEL>WIRELESS_CI3_CHECKING_DEVICE</LABEL> 
				<SWITCH cmd="OPEN_DLG" param0="WSP_DEVICE_CHECKING" param1="WSP_CHECK">
					<CASE value="101">
						<!--  ERROR_DEVICE_DATA --> 
						<SWITCH cmd="OPEN_DLG" param0="WSP_CHECKING_ERROR_DEVICE_DATA">
							<CASE value="11">
								<!--  Retry	--> 
								<GOTO>WIRELESS_CI3_CHECKING_DEVICE</GOTO> 
							</CASE>
							
							<DEFAULT>										
								<GOTO>WIRELESS_CI3_START</GOTO> 
							</DEFAULT>
						</SWITCH>
					</CASE>
					
					<CASE value="102">
						<!--  ERROR_WLAN_SUPPORT --> 
						<COMMAND cmd="OPEN_DLG" param0="WSP_CHECKING_ERROR_WLAN_SUPPORT" /> 
						<GOTO>WIRELESS_CI3_START</GOTO> 
					</CASE>
				</SWITCH>

				<!-- 
				============================================================================================ 
						Show Wireless Network List 
				============================================================================================
				--> 
				<LABEL>WSP_CI3_FOUND_MODEL_STEP</LABEL> 
				<SWITCH cmd="open_dlg" param0="WSP_FOUND_MODEL" step_dlg="TRUE">
					<CASE value="150">
						<!--  150 : Refresh --> 
						<GOTO>WIRELESS_CI3_CHECKING_DEVICE</GOTO> 
					</CASE>
					
					<CASE value="200">
						<!--  200 : Advanced Setting --> 
						<COMMAND cmd="open_dlg" param0="WSP_ADVANCED_SETTING" step_dlg="TRUE" /> 
					</CASE>
					
					<CASE value="101">
						<!--  101 : WLAN_RESULT_WEP --> 
						<COMMAND cmd="open_dlg" param0="WSP_SECURITY_WEP" step_dlg="TRUE" /> 
					</CASE>
					
					<CASE value="102">
						<!--  102 : WLAN_RESULT_WPA --> 
						<COMMAND cmd="open_dlg" param0="WSP_SECURITY_WPA" step_dlg="TRUE" /> 
					</CASE>	
					
					<!-- back jump -->
					<CASE value="500">
						<GOTO> WIRELESS_CI3_START </GOTO>
					</CASE>							
				</SWITCH>


				<!-- 
				========================================================================================= 
						Setting Confirm Dialog
				=========================================================================================					
				--> 
				<LABEL>WSP_CI3_WIRELESS_CONFIRM_STEP</LABEL> 
				<SWITCH cmd="open_dlg" param0="WSP_SETTING_CONFIRM" param1="WSP_CONFIRM" step_dlg="TRUE">
					<CASE value="300">
						<!--  300 : WSP_CHANGE_PC_NET_SETTING --> 
						<COMMAND cmd="open_dlg" param0="WSP_SET_NET_PROTOCOL" /> 
						<GOTO>WSP_CI3_WIRELESS_CONFIRM_STEP</GOTO> 
					</CASE>						
				</SWITCH>



				<!-- 
				========================================================================================= 
					Connecting Dialog if Self network
				=========================================================================================						
				--> 
				<LABEL>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</LABEL> 
				<IF cmd="wsp_is_self">
					<TRUE>
						<SWITCH cmd="open_dlg" param0="WSP_WIRELESS_CONNECTING" param1="WSP_CONNECT">
							<CASE value="103">
								<!--  103 : WSP_ERROR_GENERAL --> 
								<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE3">
									<CASE value="1">
										<!--  1 : Reconfiguration --> 
										<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
									</CASE>
									
									<CASE value="2">
										<!-- 2 : Accept current setting  -->
										<GOTO>WIRELESS_CI3_START</GOTO> 
									</CASE>
									
									<CASE value="3">
										<!--  3 : Reconnect --> 
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</CASE>
								</SWITCH>
							</CASE>
							
							<CASE value="104">
								<!--  104 : WSP_ERROR_SSID --> 
								<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE">
									<CASE value="1">
										<!--  1 : Reconfiguration --> 
										<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
									</CASE>
									
									<CASE value="2">
										<!-- 2 : Accept current setting  -->
										<GOTO>WIRELESS_CI3_START</GOTO> 
									</CASE>
									
									<CASE value="3">
										<!--  3 : Reconnect --> 
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</CASE>
								</SWITCH>
							</CASE>
							
							<CASE value="105">
								<!--  105 : WSP_ERROR_SECURITY --> 
								<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE4">
									<CASE value="1">
										<!--  1 : Reconfiguration --> 
										<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
									</CASE>
									
									<CASE value="2">
										<!-- 2 : Accept current setting  -->
										<GOTO>WIRELESS_CI3_START</GOTO> 
									</CASE>
									
									<CASE value="3">
										<!--  3 : Reconnect --> 
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</CASE>
								</SWITCH>
							</CASE>
							
							<CASE value="106">
								<!--  106 : WSP_ERROR_PING_TEST --> 
								<IF cmd="wsp_is_static_ip">
									<TRUE>
										<COMMAND cmd="open_dlg" param0="WSP_CHANGE_PC_NET_SETTING" /> 
									</TRUE>
									
									<FALSE>
										<COMMAND cmd="open_dlg" param0="WSP_CHANGE_PC_NET_SETTING_DHCP" /> 
									</FALSE>
								</IF>
							</CASE>	
							
							<CASE value="107">
								<!--  107 : WSP_ERROR_CONNECTED_WIRED --> 
								<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE5">
									<CASE value="1">
										<!--  1 : Reconfiguration --> 
										<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
									</CASE>
								
									<CASE value="2">
										<!-- 2 : Accept current setting  -->
										<GOTO>WIRELESS_CI3_START</GOTO> 
									</CASE>
									
									<CASE value="3">
										<!--  3 : Reconnect --> 
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</CASE>								
								</SWITCH>
							</CASE>
						</SWITCH>
					</TRUE>
				</IF>


			   <!-- 
					 ========================================================================================= 
							Connecting Dialog
					 =============================================================================================
				--> 
				
				<LABEL>WSP_CI3_WIRELESS_CONNECTING_STEP</LABEL> 
				<SWITCH cmd="open_dlg" param0="WSP_WIRELESS_CONNECTING" param1="WSP_CONNECT">
					<CASE value="103">
						<!--  103 : WSP_ERROR_GENERAL --> 
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE3">
							<CASE value="1">
								<!--  1 : Reconfiguration --> 
								<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
							</CASE>
							
							<CASE value="2">
								<!-- 2 : Accept current setting --> 
								<GOTO>WIRELESS_CI3_START</GOTO> 
							</CASE>
							
							<CASE value="3">
							<!--  3 : Reconnect --> 
							<IF cmd="wsp_is_self">
								<TRUE>
									<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
								</TRUE>
								
								<FALSE>
									<GOTO>WSP_CI3_WIRELESS_CONNECTING_STEP</GOTO> 
								</FALSE>
							</IF>
							</CASE>
						</SWITCH>
					</CASE>
					
					<CASE value="104">
					<!--  104 : WSP_ERROR_SSID --> 
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE">
							<CASE value="1">
								<!--  1 : Reconfiguration --> 
								<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
							</CASE>
							
							<CASE value="2">
								<!-- 2 : Accept current setting --> 
								<GOTO>WIRELESS_CI3_START</GOTO> 
							</CASE>
							
							<CASE value="3">
								<!--  3 : Reconnect --> 
								<IF cmd="wsp_is_self">
									<TRUE>
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</TRUE>
									
									<FALSE>
										<GOTO>WSP_CI3_WIRELESS_CONNECTING_STEP</GOTO> 
									</FALSE>
								</IF>
							</CASE>
						</SWITCH>
					</CASE>
					
					<CASE value="105">
						<!--  105 : WSP_ERROR_SECURITY --> 
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE4">
							<CASE value="1">
								<!--  1 : Reconfiguration --> 
								<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
							</CASE>
							
							<CASE value="2">
								<!-- 2 : Accept current setting --> 
								<GOTO>WIRELESS_CI3_START</GOTO> 
							</CASE>
							
							<CASE value="3">
								<!--  3 : Reconnect --> 
								<IF cmd="wsp_is_self">
									<TRUE>
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</TRUE>
									
									<FALSE>
										<GOTO>WSP_CI3_WIRELESS_CONNECTING_STEP</GOTO> 
									</FALSE>
								</IF>
							</CASE>
						</SWITCH>
					</CASE>
					
					<CASE value="106">
						<!--  106 : WSP_ERROR_PING_TEST --> 
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE2">
							<CASE value="1">
								<!--  1 : Reconfiguration --> 
								<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
							</CASE>
							
							<CASE value="2">
								<!-- 2 : Accept current setting --> 
								<GOTO>WIRELESS_CI3_START</GOTO> 
							</CASE>
							
							<CASE value="3">
								<!--  3 : Reconnect --> 
								<IF cmd="wsp_is_self">
									<TRUE>
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</TRUE>
									
									<FALSE>
										<GOTO>WSP_CI3_WIRELESS_CONNECTING_STEP</GOTO> 
									</FALSE>
								</IF>
							</CASE>
						</SWITCH>
					</CASE>
					
					<CASE value="107">
						<!--  107 : WSP_ERROR_CONNECTED_WIRED --> 
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE5">
							<CASE value="1">
								<!--  1 : Reconfiguration --> 
								<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
							</CASE>
							
							<CASE value="2">
								<!-- 2 : Accept current setting --> 
								<GOTO>WIRELESS_CI3_START</GOTO> 
							</CASE>
							
							<CASE value="3">
								<!--  3 : Reconnect --> 
								<IF cmd="wsp_is_self">
									<TRUE>
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</TRUE>
									
									<FALSE>
										<GOTO>WSP_CI3_WIRELESS_CONNECTING_STEP</GOTO> 
									</FALSE>
								</IF>
							</CASE>
						</SWITCH>
					</CASE>
				</SWITCH>

				<COMMAND cmd="open_dlg" param0="WSP_SETTING_COMPLETE" step_dlg="TRUE" /> 
				
				<!--
				<COMMAND cmd="terminate" param0="IDOK" /> 
				<LABEL>WSP_CI2_WIRELESS_RETURN_CANCEL</LABEL> 
				<COMMAND cmd="open_dlg" param0="WSP_SETTING_COMPLETE" step_dlg="TRUE" /> 
				<COMMAND cmd="terminate" param0="IDCANCEL" /> 
				-->
				
				<SWITCH cmd="open_dlg" param0="WSP_SETTING_INSTALLATION" step_dlg="TRUE">
					<CASE value="2">
						<GOTO>WIRELESS_CI3_START</GOTO> 
					</CASE>
				</SWITCH>
				
				<IF cmd="wsp_net_find">
					<TRUE>
						<SWITCH cmd="OPEN_DLG" param0="CONFIRM_MODEL_WSP" step_dlg="TRUE">	
							<CASE value="200">
								<GOTO> WIRELESS_CI3_START </GOTO>
							</CASE>
						</SWITCH>
					</TRUE>
					<FALSE>
						<SWITCH cmd="OPEN_DLG" param0="MODEL_NOT_FOUND_WSP" >							
							<CASE value="200">
								<GOTO> WIRELESS_CI3_START </GOTO>
							</CASE>									
						</SWITCH>
					</FALSE>
				</IF>
				
				
				
				<!-- Wireless Setting Completed @@@@@@@@    -->
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="SELECT_FEATURES" step_dlg="TRUE"/>
								
				<SWITCH cmd="open_dlg" param0="SELECT_COMPONENTS" param1="INSTALL" step_dlg="TRUE">
					<CASE value="1">
						<COMMAND cmd="open_dlg" param0="SET_PRINTER_SETTING" param1="MAIN"/> 
					</CASE>
				</SWITCH> 
				
				<COMMAND cmd="WRITE_ITEM_INFO" param0="CUSTOM"/>
				
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="INSTALLATION" step_dlg="TRUE"/>
				
				<COMMAND cmd="open_dlg" param0="COPY_FILE"/>
				
				<COMMAND cmd="open_dlg" param0="INSTALL"/> 
				
				<IF cmd="is_printer_installed">	
					<TRUE>				
						<IF cmd="is_connected">
							<TRUE>
								<LABEL>CUSTOM_PRINT_TEST_PAGE</LABEL>
								
								<COMMAND cmd="diagnosis" />
								
								<IF cmd="open_dlg" param0="TEST_PAGE" step_dlg="TRUE">
									<TRUE>
										<IF cmd="open_dlg" param0="CONFIRM_TEST_PAGE"> 
											<FALSE>
												<GOTO>CUSTOM_PRINT_TEST_PAGE</GOTO> 
											</FALSE>										
										</IF>
									</TRUE>
								</IF>
									
									<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
									<COMMAND cmd="open_dlg" param0="FINISH"/>
							</TRUE>	
							<FALSE>
								<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
								<COMMAND cmd="open_dlg" param0="FINISH_WITHOUT_CONNECT"/>						
							</FALSE>
						</IF>
					</TRUE>
					
					<FALSE>
						<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
						<COMMAND cmd="open_dlg" param0="FINISH"/>						
					</FALSE>
				</IF>
				
			</CASE>			
			
		</SWITCH>	
		
	</INSTALL>






	<UNINSTALL>
	
	</UNINSTALL>













	<!--
	*
	*
	*	Maintenance
	*
	*
	-->
	<MAINTENANCE>
	
		<SWITCH cmd="open_dlg" param0="MAINTENANCE_START" step_dlg="TRUE">
		
			<!--	
			=============   Repair  =============   
			-->
			<CASE value="0">
				<COMMAND cmd="set_setup_type" param0="REINSTALL" />				
				<COMMAND cmd="set_history" param0="REPAIR"/>				
				<COMMAND cmd="set_history_section" param0="SELECT_FEATURES" step_dlg="TRUE"/>		
						
				<SWITCH cmd="open_dlg" param0="REPAIR_SELECT_FEATURES" param1="REPAIR" step_dlg="TRUE"> 			
					<CASE value="1">
						<LABEL>REPAIR_SEARCH</LABEL>
						<SWITCH cmd="OPEN_DLG" param0="SEARCH_MODEL" step_dlg="TRUE">
							<CASE value="0">  <!-- Not found	 -->						
								<SWITCH cmd="open_dlg" param0="MODEL_NOT_FOUND" step_dlg="FALSE" >															
									<CASE value="11"> <!--UnChecked : Search Again-->	
										<IF cmd="check_option" param0="network=TRUE" >
											<TRUE>
												<COMMAND cmd="OPEN_DLG" param0="FIREWALL_NOTICE" step_dlg="FALSE" />
											</TRUE>
										</IF>
										
										<GOTO>REPAIR_SEARCH</GOTO> 
									</CASE>
									
									<CASE value="12"> <!--UnChecked : Direct Input -->	
										<IF cmd="OPEN_DLG" param0="MANUAL_SEARCH_MODEL" param1="MAIN" step_dlg="TRUE">
											<TRUE>
												<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
											</TRUE>												
										</IF>
									</CASE>															
								</SWITCH>
							</CASE>			

							<CASE value="1"> <!-- Found-->				
								<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
							</CASE>	
																
							<CASE value="200"> <!-- Direct Input -->	
								<IF cmd="OPEN_DLG" param0="MANUAL_SEARCH_MODEL" param1="MAIN" step_dlg="TRUE">
									<TRUE>
										<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
									</TRUE>												
								</IF>
							</CASE>
						</SWITCH>
						<COMMAND cmd="open_dlg" param0="SET_PRINTER_SETTING" param1="MAIN"/> 
					</CASE>					
				</SWITCH>
				
								
				<COMMAND cmd="WRITE_ITEM_INFO" param0="CUSTOM"/>
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="REINSTALL" step_dlg="TRUE"/>
				
				<COMMAND cmd="open_dlg" param0="COPY_FILE"/> 
				
				<COMMAND cmd="open_dlg" param0="REPAIR_INSTALL" param1="REPAIR"/> 
				
				
				<IF cmd="is_printer_installed">	
					<TRUE>				
						<IF cmd="is_connected">
							<TRUE>
								<LABEL>MAINTENANCE_PRINT_TEST_PAGE</LABEL>
								
								<COMMAND cmd="diagnosis" />
								
								<IF cmd="open_dlg" param0="TEST_PAGE" step_dlg="TRUE">
									<TRUE>
										<IF cmd="open_dlg" param0="CONFIRM_TEST_PAGE"> 
											<FALSE>
												<GOTO>MAINTENANCE_PRINT_TEST_PAGE</GOTO> 
											</FALSE>										
										</IF>
									</TRUE>
								
								</IF>
							</TRUE>							
						</IF>
					</TRUE>							
				</IF>
				
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
				
				<COMMAND cmd="open_dlg" param0="REPAIR_FINISH"/>
			
			</CASE>
			
			
			<!--	
			=============   Remove  =============   
			-->
			<CASE value="1">
			
				<COMMAND cmd="set_setup_type" param0="UNINSTALL" />
				
				<COMMAND cmd="set_history" param0="REMOVE"/>
		
	<!--					
				<SWITCH cmd="OPEN_DLG" param0="SEARCH_MODEL" param1="NETWORK" step_dlg="TRUE">
					<CASE value="0"> 					
						<IF cmd="open_dlg" param0="MODEL_NOT_FOUND" step_dlg="TRUE" >
													
							<FALSE>
								<COMMAND cmd="open_dlg" param0="SEARCH_MODEL" step_dlg="TRUE" /> 
							</FALSE>
						</IF>
					</CASE>			
					
					<CASE value="1"> 			
						<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
					</CASE>		
				</SWITCH>
-->					

				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="SELECT_FEATURES" step_dlg="TRUE"/>
				
				<COMMAND cmd="open_dlg" param0="REMOVE_SELECT_FEATURES" param1="REMOVE"/> 
<!--
				<COMMAND cmd="open_dlg" param0="CUSTOM_SET_PRINTER_DRIVER" param1="MAIN"/> 
				
				<IF cmd="open_dlg" param0="MODEL_NOT_COMPATIBLE" step_dlg="TRUE" >
					<FALSE>
						<COMMAND cmd="open_dlg" param0="START" step_dlg="TRUE" /> 
					</FALSE>
				</IF>
				
				<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
-->				
<!--				<COMMAND cmd="WRITE_ITEM_INFO" /> -->	
<!--				
				<COMMAND cmd="open_dlg" param0="COPY_FILE"/> 
-->						

				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="UNINSTALL" step_dlg="TRUE"/>
				
				<COMMAND cmd="open_dlg" param0="REMOVE_INSTALL" param1="REMOVE"/> 
				
				
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
				<COMMAND cmd="open_dlg" param0="REMOVE_FINISH"/>
			
			
			</CASE>	
			
		</SWITCH>
					
	</MAINTENANCE>


	<ONE_COMP_DEVICE_INSTALL>
		<COMMAND cmd="set_setup_type" param0="INSTALL" />		
		
		<LABEL>WIRELESS_CI3_START_ONE_COMP</LABEL> 			
		
		<SWITCH cmd="open_dlg" param0="START_ONE_COMP" step_dlg="TRUE">
			<CASE value="0">   <!-- Install Now-->
				<COMMAND cmd="set_history" param0="SMART_INSTALL"/>
				
				<COMMAND cmd="set_history_section" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				<COMMAND cmd="open_dlg" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
								
				<COMMAND cmd="set_history_section" param0="FIND_PRINTER" step_dlg="TRUE"/>
						
				<LABEL>SMART_INSTALL_SEARCH</LABEL>		
				
				<COMMAND cmd="set_install_mode" param0="SMART_INST" step_dlg="TRUE"/>	
				<SWITCH cmd="OPEN_DLG" param0="SEARCH_MODEL" param1="ALL" step_dlg="TRUE">			
					<CASE value="0">  <!-- Not found	 -->
										
						<SWITCH cmd="open_dlg" param0="MODEL_NOT_FOUND_SMARTINSTALL" step_dlg="FALSE" >															
							<CASE value="11"> <!--UnChecked : Search Again-->	
								<IF cmd="check_option" param0="network=TRUE" >
									<TRUE>
										<COMMAND cmd="OPEN_DLG" param0="FIREWALL_NOTICE" step_dlg="FALSE" />
									</TRUE>
								</IF>
								<GOTO>SMART_INSTALL_SEARCH</GOTO> 
							</CASE>
							
							<CASE value="12"> <!--UnChecked : Direct Input -->	
								<IF cmd="OPEN_DLG" param0="MANUAL_SEARCH_MODEL" param1="MAIN" step_dlg="TRUE">
									<TRUE>
										<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
									</TRUE>												
								</IF>
							</CASE>					
							
							<DEFAULT>
								<IF cmd="find_local_printer" param0="SET_PORT">
									<TRUE>
										<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
									</TRUE>
								</IF>
							</DEFAULT>
							
						</SWITCH>
					</CASE>			
					
					<CASE value="1"> <!-- Found-->				
						<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
					</CASE>		
					
					<CASE value="200"> <!-- Direct Input -->	
						<IF cmd="OPEN_DLG" param0="MANUAL_SEARCH_MODEL" param1="MAIN" step_dlg="TRUE">
							<TRUE>
								<COMMAND cmd="OPEN_DLG" param0="CONFIRM_MODEL" step_dlg="TRUE"/>
							</TRUE>												
						</IF>
					</CASE>	
							
				</SWITCH>
				
				
				
				<COMMAND cmd="WRITE_ITEM_INFO" /> 
				
				<!-- History Panel Section Setting -->
				<COMMAND cmd="set_history_section" param0="INSTALLATION" step_dlg="TRUE"/>
				
				<COMMAND cmd="open_dlg" param0="COPY_FILE"/> 
				
				<COMMAND cmd="open_dlg" param0="INSTALL"/> 		
				
				<IF cmd="is_printer_installed">	
					<TRUE>				
						<IF cmd="is_connected">
							<TRUE>
								<LABEL>PRINT_TEST_PAGE_ONE_COMP_DEVICE</LABEL>
								
								<COMMAND cmd="diagnosis" />
								
								<IF cmd="open_dlg" param0="TEST_PAGE" step_dlg="TRUE">
									<TRUE>
										<IF cmd="open_dlg" param0="CONFIRM_TEST_PAGE"> 
											<FALSE>
												<GOTO>PRINT_TEST_PAGE_ONE_COMP_DEVICE</GOTO> 
											</FALSE>										
										</IF>
									</TRUE>								
								</IF>
								
				
								<!-- History Panel Section Setting -->				
								<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
								<COMMAND cmd="open_dlg" param0="FINISH"/>								
							</TRUE>
							<FALSE>
								<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
								<COMMAND cmd="open_dlg" param0="FINISH_WITHOUT_CONNECT"/>
							</FALSE>
						</IF>
					</TRUE>	
					
					<FALSE>
						<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
						<COMMAND cmd="open_dlg" param0="FINISH"/>						
					</FALSE>						
				</IF>
			</CASE>
			
			
			
			<!--
			*
			*
			*	Wireless Setting and Installtion
			*
			*
			-->
			<CASE value="5">  
				<COMMAND cmd="set_history" param0="WSP_INSTALL"/>
				<COMMAND cmd="set_history_section" param0="WIRELESS_SETTING" step_dlg="TRUE"/>				
			
				<COMMAND cmd="set_install_mode" param0="CUSTOM_NETWORK_INST" />
				
				<COMMAND cmd="set_history_section" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				<COMMAND cmd="open_dlg" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
				
										
				<!-- 
				=============================================================================== 
						Check Local Connection 
				===================================================================================
				--> 	
				<COMMAND cmd="wsp_initialize" />
									
				<SWITCH cmd="open_dlg" param0="WSP_SEARCH_MODEL">
					<CASE value="0">
						<GOTO>WIRELESS_CI3_GUIDE_CONNECTION</GOTO> 
					</CASE>
					
					<DEFAULT value="1">
						<GOTO>WIRELESS_CI3_CHECKING_DEVICE</GOTO> 
					</DEFAULT>
					
				</SWITCH>
				
				
				<!-- 
				=============================================================================== 
						Guide Device Connect 
				===================================================================================
				--> 

				<LABEL>WIRELESS_CI3_GUIDE_CONNECTION</LABEL> 
				
				<COMMAND cmd="OPEN_DLG" param0="WSP_CONNECT_DEVICE" /> 
				
				<LABEL>WIRELESS_CI3_SEARCH_USB_STEP</LABEL> 
				<SWITCH cmd="open_dlg" param0="WSP_SEARCH_MODEL">
					<!--  Not found --> 
					<CASE value="0">														
						<COMMAND cmd="OPEN_DLG" param0="WSP_MODEL_NOT_FOUND" /> 
						<GOTO>WIRELESS_CI3_SEARCH_USB_STEP</GOTO> 							
					</CASE>
					
					<!--  Found One and more --> 
					<DEFAULT value="1">							
						<GOTO>WIRELESS_CI3_CHECKING_DEVICE</GOTO> 
					</DEFAULT>							
				</SWITCH>

				<!-- 
				================================================================================== 
						Check Device 
				======================================================================================						
				--> 
				<LABEL>WIRELESS_CI3_CHECKING_DEVICE</LABEL> 
				<SWITCH cmd="OPEN_DLG" param0="WSP_DEVICE_CHECKING" param1="WSP_CHECK">
					<CASE value="101">
						<!--  ERROR_DEVICE_DATA --> 
						<SWITCH cmd="OPEN_DLG" param0="WSP_CHECKING_ERROR_DEVICE_DATA">
							<CASE value="11">
								<!--  Retry	--> 
								<GOTO>WIRELESS_CI3_CHECKING_DEVICE</GOTO> 
							</CASE>
							
							<DEFAULT>										
								<GOTO>WIRELESS_CI3_START_ONE_COMP</GOTO> 
							</DEFAULT>
						</SWITCH>
					</CASE>
					
					<CASE value="102">
						<!--  ERROR_WLAN_SUPPORT --> 
						<COMMAND cmd="OPEN_DLG" param0="WSP_CHECKING_ERROR_WLAN_SUPPORT" /> 
						<GOTO>WIRELESS_CI3_START_ONE_COMP</GOTO> 
					</CASE>
				</SWITCH>

				<!-- 
				============================================================================================ 
						Show Wireless Network List 
				============================================================================================
				--> 
				<LABEL>WSP_CI3_FOUND_MODEL_STEP</LABEL> 
				<SWITCH cmd="open_dlg" param0="WSP_FOUND_MODEL" step_dlg="TRUE">
					<CASE value="150">
						<!--  150 : Refresh --> 
						<GOTO>WIRELESS_CI3_CHECKING_DEVICE</GOTO> 
					</CASE>
					
					<CASE value="200">
						<!--  200 : Advanced Setting --> 
						<COMMAND cmd="open_dlg" param0="WSP_ADVANCED_SETTING" step_dlg="TRUE" /> 
					</CASE>
					
					<CASE value="101">
						<!--  101 : WLAN_RESULT_WEP --> 
						<COMMAND cmd="open_dlg" param0="WSP_SECURITY_WEP" step_dlg="TRUE" /> 
					</CASE>
					
					<CASE value="102">
						<!--  102 : WLAN_RESULT_WPA --> 
						<COMMAND cmd="open_dlg" param0="WSP_SECURITY_WPA" step_dlg="TRUE" /> 
					</CASE>	
					
					<!-- back jump -->
					<CASE value="500">
						<GOTO> WIRELESS_CI3_START_ONE_COMP </GOTO>
					</CASE>							
				</SWITCH>


				<!-- 
				========================================================================================= 
						Setting Confirm Dialog
				=========================================================================================					
				--> 
				<LABEL>WSP_CI3_WIRELESS_CONFIRM_STEP</LABEL> 
				<SWITCH cmd="open_dlg" param0="WSP_SETTING_CONFIRM" param1="WSP_CONFIRM" step_dlg="TRUE">
					<CASE value="300">
						<!--  300 : WSP_CHANGE_PC_NET_SETTING --> 
						<COMMAND cmd="open_dlg" param0="WSP_SET_NET_PROTOCOL" /> 
						<GOTO>WSP_CI3_WIRELESS_CONFIRM_STEP</GOTO> 
					</CASE>						
				</SWITCH>



				<!-- 
				========================================================================================= 
					Connecting Dialog if Self network
				=========================================================================================						
				--> 
				<LABEL>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</LABEL> 
				<IF cmd="wsp_is_self">
					<TRUE>
						<SWITCH cmd="open_dlg" param0="WSP_WIRELESS_CONNECTING" param1="WSP_CONNECT">
							<CASE value="103">
								<!--  103 : WSP_ERROR_GENERAL --> 
								<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE3">
									<CASE value="1">
										<!--  1 : Reconfiguration --> 
										<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
									</CASE>
									
									<CASE value="2">
										<!-- 2 : Accept current setting  -->
										<GOTO>WIRELESS_CI3_START_ONE_COMP</GOTO> 
									</CASE>
									
									<CASE value="3">
										<!--  3 : Reconnect --> 
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</CASE>
								</SWITCH>
							</CASE>
							
							<CASE value="104">
								<!--  104 : WSP_ERROR_SSID --> 
								<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE">
									<CASE value="1">
										<!--  1 : Reconfiguration --> 
										<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
									</CASE>
									
									<CASE value="2">
										<!-- 2 : Accept current setting  -->
										<GOTO>WIRELESS_CI3_START_ONE_COMP</GOTO> 
									</CASE>
									
									<CASE value="3">
										<!--  3 : Reconnect --> 
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</CASE>
								</SWITCH>
							</CASE>
							
							<CASE value="105">
								<!--  105 : WSP_ERROR_SECURITY --> 
								<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE4">
									<CASE value="1">
										<!--  1 : Reconfiguration --> 
										<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
									</CASE>
									
									<CASE value="2">
										<!-- 2 : Accept current setting  -->
										<GOTO>WIRELESS_CI3_START_ONE_COMP</GOTO> 
									</CASE>
									
									<CASE value="3">
										<!--  3 : Reconnect --> 
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</CASE>
								</SWITCH>
							</CASE>
							
							<CASE value="106">
								<!--  106 : WSP_ERROR_PING_TEST --> 
								<IF cmd="wsp_is_static_ip">
									<TRUE>
										<COMMAND cmd="open_dlg" param0="WSP_CHANGE_PC_NET_SETTING" /> 
									</TRUE>
									
									<FALSE>
										<COMMAND cmd="open_dlg" param0="WSP_CHANGE_PC_NET_SETTING_DHCP" /> 
									</FALSE>
								</IF>
							</CASE>	
							
							<CASE value="107">
								<!--  107 : WSP_ERROR_CONNECTED_WIRED --> 
								<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE5">
									<CASE value="1">
										<!--  1 : Reconfiguration --> 
										<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
									</CASE>
								
									<CASE value="2">
										<!-- 2 : Accept current setting  -->
										<GOTO>WIRELESS_CI3_START_ONE_COMP</GOTO> 
									</CASE>
									
									<CASE value="3">
										<!--  3 : Reconnect --> 
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</CASE>								
								</SWITCH>
							</CASE>
						</SWITCH>
					</TRUE>
				</IF>


			   <!-- 
					 ========================================================================================= 
							Connecting Dialog
					 =============================================================================================
				--> 
				
				<LABEL>WSP_CI3_WIRELESS_CONNECTING_STEP</LABEL> 
				<SWITCH cmd="open_dlg" param0="WSP_WIRELESS_CONNECTING" param1="WSP_CONNECT">
					<CASE value="103">
						<!--  103 : WSP_ERROR_GENERAL --> 
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE3">
							<CASE value="1">
								<!--  1 : Reconfiguration --> 
								<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
							</CASE>
							
							<CASE value="2">
								<!-- 2 : Accept current setting --> 
								<GOTO>WIRELESS_CI3_START_ONE_COMP</GOTO> 
							</CASE>
							
							<CASE value="3">
							<!--  3 : Reconnect --> 
							<IF cmd="wsp_is_self">
								<TRUE>
									<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
								</TRUE>
								
								<FALSE>
									<GOTO>WSP_CI3_WIRELESS_CONNECTING_STEP</GOTO> 
								</FALSE>
							</IF>
							</CASE>
						</SWITCH>
					</CASE>
					
					<CASE value="104">
					<!--  104 : WSP_ERROR_SSID --> 
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE">
							<CASE value="1">
								<!--  1 : Reconfiguration --> 
								<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
							</CASE>
							
							<CASE value="2">
								<!-- 2 : Accept current setting --> 
								<GOTO>WIRELESS_CI3_START_ONE_COMP</GOTO> 
							</CASE>
							
							<CASE value="3">
								<!--  3 : Reconnect --> 
								<IF cmd="wsp_is_self">
									<TRUE>
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</TRUE>
									
									<FALSE>
										<GOTO>WSP_CI3_WIRELESS_CONNECTING_STEP</GOTO> 
									</FALSE>
								</IF>
							</CASE>
						</SWITCH>
					</CASE>
					
					<CASE value="105">
						<!--  105 : WSP_ERROR_SECURITY --> 
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE4">
							<CASE value="1">
								<!--  1 : Reconfiguration --> 
								<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
							</CASE>
							
							<CASE value="2">
								<!-- 2 : Accept current setting --> 
								<GOTO>WIRELESS_CI3_START_ONE_COMP</GOTO> 
							</CASE>
							
							<CASE value="3">
								<!--  3 : Reconnect --> 
								<IF cmd="wsp_is_self">
									<TRUE>
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</TRUE>
									
									<FALSE>
										<GOTO>WSP_CI3_WIRELESS_CONNECTING_STEP</GOTO> 
									</FALSE>
								</IF>
							</CASE>
						</SWITCH>
					</CASE>
					
					<CASE value="106">
						<!--  106 : WSP_ERROR_PING_TEST --> 
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE2">
							<CASE value="1">
								<!--  1 : Reconfiguration --> 
								<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
							</CASE>
							
							<CASE value="2">
								<!-- 2 : Accept current setting --> 
								<GOTO>WIRELESS_CI3_START_ONE_COMP</GOTO> 
							</CASE>
							
							<CASE value="3">
								<!--  3 : Reconnect --> 
								<IF cmd="wsp_is_self">
									<TRUE>
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</TRUE>
									
									<FALSE>
										<GOTO>WSP_CI3_WIRELESS_CONNECTING_STEP</GOTO> 
									</FALSE>
								</IF>
							</CASE>
						</SWITCH>
					</CASE>
					
					<CASE value="107">
						<!--  107 : WSP_ERROR_CONNECTED_WIRED --> 
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE5">
							<CASE value="1">
								<!--  1 : Reconfiguration --> 
								<GOTO>WSP_CI3_FOUND_MODEL_STEP</GOTO> 
							</CASE>
							
							<CASE value="2">
								<!-- 2 : Accept current setting --> 
								<GOTO>WIRELESS_CI3_START_ONE_COMP</GOTO> 
							</CASE>
							
							<CASE value="3">
								<!--  3 : Reconnect --> 
								<IF cmd="wsp_is_self">
									<TRUE>
										<GOTO>WSP_CI3_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO> 
									</TRUE>
									
									<FALSE>
										<GOTO>WSP_CI3_WIRELESS_CONNECTING_STEP</GOTO> 
									</FALSE>
								</IF>
							</CASE>
						</SWITCH>
					</CASE>
				</SWITCH>

				<COMMAND cmd="open_dlg" param0="WSP_SETTING_COMPLETE" step_dlg="TRUE" /> 
				
				<!--
				<COMMAND cmd="terminate" param0="IDOK" /> 
				<LABEL>WSP_CI2_WIRELESS_RETURN_CANCEL</LABEL> 
				<COMMAND cmd="open_dlg" param0="WSP_SETTING_COMPLETE" step_dlg="TRUE" /> 
				<COMMAND cmd="terminate" param0="IDCANCEL" /> 
				-->
				
				<SWITCH cmd="open_dlg" param0="WSP_SETTING_INSTALLATION" step_dlg="TRUE">
					<CASE value="2">
						<GOTO>WIRELESS_CI3_START_ONE_COMP</GOTO> 
					</CASE>
				</SWITCH>
				
				<IF cmd="wsp_net_find">
					<TRUE>
						<SWITCH cmd="OPEN_DLG" param0="CONFIRM_MODEL_WSP" step_dlg="TRUE">	
							<CASE value="200">
								<GOTO> WIRELESS_CI3_START_ONE_COMP </GOTO>
							</CASE>
						</SWITCH>
					</TRUE>
					<FALSE>
						<SWITCH cmd="OPEN_DLG" param0="MODEL_NOT_FOUND_WSP" >							
							<CASE value="200">
								<GOTO> WIRELESS_CI3_START_ONE_COMP </GOTO>
							</CASE>									
						</SWITCH>
					</FALSE>
				</IF>
				
				
				
				<!-- Wireless Setting Completed @@@@@@@@    -->
			
			
			</CASE>
			
		</SWITCH>
		

	</ONE_COMP_DEVICE_INSTALL>


	<ONE_COMP_DEVICE_UNINSTALL>	
	</ONE_COMP_DEVICE_UNINSTALL>
	

	<ONE_COMP_APP_INSTALL>	
		<COMMAND cmd="stop_pnp_thread" /> 		
		
		<COMMAND cmd="set_setup_type" param0="INSTALL" />					
		
		<COMMAND cmd="open_dlg" param0="START_ONE_COMP" step_dlg="TRUE"/>
		
		<COMMAND cmd="set_history" param0="SOFTWARE_ONLY_INSTALL"/>
		
		<COMMAND cmd="set_history_section" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
		<COMMAND cmd="open_dlg" param0="LICENSE_AGREEMENT" step_dlg="FALSE"/>
		<COMMAND cmd="set_install_mode" param0="SOFTWARE_ONLY_INST" />				
		<COMMAND cmd="WRITE_ITEM_INFO" /> 
		<COMMAND cmd="set_history_section" param0="INSTALLATION" step_dlg="TRUE"/>
		<COMMAND cmd="open_dlg" param0="COPY_FILE"/> 
		<COMMAND cmd="open_dlg" param0="INSTALL"/> 
		<COMMAND cmd="set_history_section" param0="FINISH" step_dlg="TRUE"/>
		<COMMAND cmd="open_dlg" param0="FINISH"/>	
	</ONE_COMP_APP_INSTALL>


	<ONE_COMP_APP_UNINSTALL>
		
	</ONE_COMP_APP_UNINSTALL>

	<MANY_COMP_APP_INSTALL>
	</MANY_COMP_APP_INSTALL>





	<!--
	
		Flow for Wireless
	
	-->

	<WSP_FLOW_CI2>
		
		<!--=============================================================================== 
				Check Local Connection 
		===================================================================================-->
		<SWITCH cmd="open_dlg" param0="WSP_SEARCH_MODEL">
			
			<CASE value="0">
				<GOTO>WIRELESS_CI2_GUIDE_CONNECTION</GOTO>
			</CASE>
			
			<DEFAULT>
				<GOTO>WIRELESS_CI2_CHECKING_DEVICE</GOTO>
			</DEFAULT>
			
<!--						
			<CASE value="1">
				<GOTO>WIRELESS_CI2_CHECKING_DEVICE</GOTO>
			</CASE>
			
			<DEFAULT>
				<GOTO>WIRELESS_CI2_FOUND_LIST</GOTO>
			</DEFAULT>
-->		
		</SWITCH>
		
		
		<!--=============================================================================== 
				Guide Device Connect 
		===================================================================================-->
		
		<LABEL>WIRELESS_CI2_GUIDE_CONNECTION</LABEL>	
		<COMMAND cmd="OPEN_DLG" param0="WSP_CONNECT_DEVICE" step_dlg="TRUE"/>
		
		<LABEL>WIRELESS_CI2_SEARCH_USB_STEP</LABEL>		
		<SWITCH cmd="open_dlg" param0="WSP_SEARCH_MODEL">
			<CASE value="0"> <!-- Not found -->
				<COMMAND cmd="OPEN_DLG" param0="WSP_MODEL_NOT_FOUND"/>	
				<GOTO>WIRELESS_CI2_SEARCH_USB_STEP</GOTO>							
			</CASE>
	
			<DEFAULT>
				<GOTO>WIRELESS_CI2_CHECKING_DEVICE</GOTO>
			</DEFAULT>
			
<!--						
			<CASE value="1">
				<GOTO>WIRELESS_CI2_CHECKING_DEVICE</GOTO>
			</CASE>
			
			<DEFAULT>
				<GOTO>WIRELESS_CI2_FOUND_LIST</GOTO>
			</DEFAULT>
-->	
			
								
		</SWITCH>
		
		
		
		
		<!--================================================================================== 
			Found Printer List
		======================================================================================-->
		<LABEL>WIRELESS_CI2_FOUND_LIST</LABEL>
		<SWITCH cmd="OPEN_DLG" param0="WSP_LOCAL_FOUND_MODEL" step_dlg="TRUE">
			<CASE value="11"> <!-- Search Again -->
				<GOTO>WIRELESS_CI2_SEARCH_USB_STEP</GOTO> 
			</CASE>
		</SWITCH>
		
		
		
		<!--================================================================================== 
				Check Device 
		======================================================================================-->
		
		<LABEL>WIRELESS_CI2_CHECKING_DEVICE</LABEL>
		<SWITCH cmd="OPEN_DLG" param0="WSP_DEVICE_CHECKING" param1="WSP_CHECK">
			<!-- WSP_ERROR_NO_AP -->
			<!-- <CASE value="100"> 
				<COMMAND cmd="OPEN_DLG" param0="WSP_CHECKING_ERROR_NO_AP"/>
			</CASE>
			-->
			
			<CASE value="101"> <!-- ERROR_DEVICE_DATA -->
				<SWITCH cmd="OPEN_DLG" param0="WSP_CHECKING_ERROR_DEVICE_DATA">
					<CASE value="11"> <!-- Retry-->
						<GOTO>WIRELESS_CI2_CHECKING_DEVICE</GOTO>
					</CASE>
					<DEFAULT> 
						<!-- Shoud cancel DoModal -->					
						<COMMAND cmd="terminate"/>
					</DEFAULT>
				</SWITCH>
			</CASE>
			
			<CASE value="102"> <!-- ERROR_WLAN_SUPPORT -->
				<COMMAND cmd="OPEN_DLG" param0="WSP_CHECKING_ERROR_WLAN_SUPPORT"/>
				<!-- Shoud cancel DoModal -->	
				<COMMAND cmd="terminate"/>				
						
			</CASE>
		</SWITCH>	
				
				
		<!--============================================================================================ 
				Show Wireless Network List 
		================================================================================================-->
				
		<LABEL>WSP_CI2_FOUND_MODEL_STEP</LABEL>
		<SWITCH cmd="open_dlg" param0="WSP_FOUND_MODEL" step_dlg="TRUE">						
			<CASE value="150"> <!-- 150 : Refresh -->
				<GOTO>WIRELESS_CI2_CHECKING_DEVICE</GOTO>
			</CASE>
			
			<CASE value="200"> <!-- 200 : Advanced Setting -->
				<COMMAND cmd="open_dlg" param0="WSP_ADVANCED_SETTING" step_dlg="TRUE"/>	
			</CASE>
			
			<CASE value="101"> <!-- 101 : WLAN_RESULT_WEP -->
				<COMMAND cmd="open_dlg" param0="WSP_SECURITY_WEP" step_dlg="TRUE"/>		
			</CASE>
			
			<CASE value="102"> <!-- 102 : WLAN_RESULT_WPA -->
				<COMMAND cmd="open_dlg" param0="WSP_SECURITY_WPA" step_dlg="TRUE"/>
			</CASE>	
										
			<!--WLAN_RESULT_NONE -->
			<!--
			<CASE value="100">  
			</CASE>
			-->
	
		</SWITCH>
		
		
		<!--========================================================================================= 
			Setting Confirm Dialog
		=============================================================================================-->	
		<LABEL>WSP_CI2_WIRELESS_CONFIRM_STEP</LABEL>
		<SWITCH cmd="open_dlg" param0="WSP_SETTING_CONFIRM" param1="WSP_CONFIRM" step_dlg="TRUE">	
										
			<CASE value="300"> <!-- 300 : WSP_CHANGE_PC_NET_SETTING -->						
				<COMMAND cmd="open_dlg" param0="WSP_SET_NET_PROTOCOL"/>
				<GOTO>WSP_CI2_WIRELESS_CONFIRM_STEP</GOTO>							
			</CASE>
	<!--
			<CASE value="1"> 
				<COMMAND cmd="open_dlg" param0="WSP_CHANGE_PC_NET_SETTING_DHCP"/>
			</CASE>
	
			<CASE value="2"> 
				<COMMAND cmd="open_dlg" param0="WSP_CHANGE_PC_NET_SETTING"/>								
			</CASE>	
	 -->					
		</SWITCH>
		
		<!--========================================================================================= 
			Connecting Dialog if Self network
		=============================================================================================-->
		<LABEL>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</LABEL>
		<IF cmd="wsp_is_self"> 
			<TRUE>
				<SWITCH cmd="open_dlg" param0="WSP_WIRELESS_CONNECTING" param1="WSP_CONNECT">
					<CASE value="103"> <!-- 103 : WSP_ERROR_GENERAL -->
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE3">
							<CASE value="1"> <!-- 1 : Reconfiguration -->
								<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
							</CASE>
						
							<CASE value="2">  <!-- 2 : Accept current setting  -->
								<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
							</CASE>
						
							<CASE value="3"> <!-- 3 : Reconnect -->
								<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
							</CASE>
						</SWITCH>
					</CASE>
					
					<CASE value="104"> <!-- 104 : WSP_ERROR_SSID -->
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE">
							<CASE value="1"> <!-- 1 : Reconfiguration -->
									<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
								</CASE>
							
								<CASE value="2"> <!-- 2 : Accept current setting  -->
									<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
								</CASE>
							
								<CASE value="3"> <!-- 3 : Reconnect -->
									<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
								</CASE>
							</SWITCH>
					</CASE>
					
					<CASE value="105"> <!-- 105 : WSP_ERROR_SECURITY -->
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE4">
							<CASE value="1"> <!-- 1 : Reconfiguration -->
									<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
								</CASE>
							
								<CASE value="2"> <!--  2 : Accept current setting -->
									<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
								</CASE>
							
								<CASE value="3"> <!-- 3 : Reconnect -->
									<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
								</CASE>
							</SWITCH>
					</CASE>
					
					<CASE value="106"> <!-- 106 : WSP_ERROR_PING_TEST -->
						<IF cmd="wsp_is_static_ip"> 
							<TRUE>
								<COMMAND cmd="open_dlg" param0="WSP_CHANGE_PC_NET_SETTING"/>
							</TRUE>
							<FALSE>
								<COMMAND cmd="open_dlg" param0="WSP_CHANGE_PC_NET_SETTING_DHCP"/>
							</FALSE>
						</IF>
					</CASE>	
					
					<CASE value="107"> <!-- 107 : WSP_ERROR_CONNECTED_WIRED -->
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE5">
							<CASE value="1"> <!-- 1 : Reconfiguration -->
									<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
								</CASE>
							
								<CASE value="2"> <!-- 2 : Accept current setting -->
									<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
								</CASE>
							
								<CASE value="3"> <!-- 3 : Reconnect -->
									<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
								</CASE>
							</SWITCH>
					</CASE>							
				</SWITCH>	
			</TRUE>
		</IF>
		
		
		<!--========================================================================================= 
			Connecting Dialog
		=============================================================================================-->
		<LABEL>WSP_CI2_WIRELESS_CONNECTING_STEP</LABEL>
		<SWITCH cmd="open_dlg" param0="WSP_WIRELESS_CONNECTING" param1="WSP_CONNECT">
			<CASE value="103"> <!-- 103 : WSP_ERROR_GENERAL -->
				<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE3">
					<CASE value="1"> <!-- 1 : Reconfiguration -->
						<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
					</CASE>
				
					<CASE value="2"> <!-- 2 : Accept current setting -->
						<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
					</CASE>
				
					<CASE value="3"> <!-- 3 : Reconnect -->
						<IF cmd="wsp_is_self"> 
							<TRUE>
								<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
							</TRUE>
							<FALSE>
								<GOTO>WSP_CI2_WIRELESS_CONNECTING_STEP</GOTO>
							</FALSE>
						</IF>
					</CASE>
				</SWITCH>
			</CASE>
			
			<CASE value="104"> <!-- 104 : WSP_ERROR_SSID -->
				<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE">
					<CASE value="1"> <!-- 1 : Reconfiguration -->
							<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
						</CASE>
					
						<CASE value="2"> <!-- 2 : Accept current setting -->
							<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
						</CASE>
					
						<CASE value="3"> <!-- 3 : Reconnect -->
							<IF cmd="wsp_is_self"> 
								<TRUE>
									<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
								</TRUE>
								<FALSE>
									<GOTO>WSP_CI2_WIRELESS_CONNECTING_STEP</GOTO>
								</FALSE>
							</IF>

						</CASE>
					</SWITCH>
			</CASE>
			
			<CASE value="105"> <!-- 105 : WSP_ERROR_SECURITY -->
				<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE4">
					<CASE value="1"> <!-- 1 : Reconfiguration -->
							<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
						</CASE>
					
						<CASE value="2"> <!-- 2 : Accept current setting -->
							<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
						</CASE>
					
						<CASE value="3"> <!-- 3 : Reconnect -->
							<IF cmd="wsp_is_self"> 
								<TRUE>
									<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
								</TRUE>
								<FALSE>
									<GOTO>WSP_CI2_WIRELESS_CONNECTING_STEP</GOTO>
								</FALSE>
							</IF>
						</CASE>
					</SWITCH>
			</CASE>
			
			<CASE value="106"> <!-- 106 : WSP_ERROR_PING_TEST -->
				<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE2">
					<CASE value="1"> <!-- 1 : Reconfiguration -->
						<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
					</CASE>
				
					<CASE value="2"> <!-- 2 : Accept current setting -->
						<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>		
					</CASE>
				
					<CASE value="3"> <!-- 3 : Reconnect -->
						<IF cmd="wsp_is_self"> 
							<TRUE>
								<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
							</TRUE>
							<FALSE>
								<GOTO>WSP_CI2_WIRELESS_CONNECTING_STEP</GOTO>
							</FALSE>
						</IF>
					</CASE>
				</SWITCH>
			</CASE>	
			
			<CASE value="107"> <!-- 107 : WSP_ERROR_CONNECTED_WIRED -->
				<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE5">
					<CASE value="1"> <!-- 1 : Reconfiguration -->
							<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
						</CASE>
					
						<CASE value="2"> <!-- 2 : Accept current setting -->
							<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
						</CASE>
					
						<CASE value="3"> <!-- 3 : Reconnect -->
							<IF cmd="wsp_is_self"> 
								<TRUE>
									<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
								</TRUE>
								<FALSE>
									<GOTO>WSP_CI2_WIRELESS_CONNECTING_STEP</GOTO>
								</FALSE>
							</IF>
						</CASE>
					</SWITCH>
			</CASE>							
		</SWITCH>


				
		<COMMAND cmd="open_dlg" param0="WSP_SETTING_COMPLETE" step_dlg="TRUE"/>
		<COMMAND cmd="terminate" param0="IDOK"/>
		
		<LABEL>WSP_CI2_WIRELESS_RETURN_CANCEL</LABEL>
		<COMMAND cmd="open_dlg" param0="WSP_SETTING_COMPLETE" step_dlg="TRUE"/>
		<COMMAND cmd="terminate" param0="IDCANCEL"/>
		
	</WSP_FLOW_CI2>
	
	<WSP_FLOW_PSU>
		<!--=============================================================================== 
				Check Local Connection 
		===================================================================================-->
		<SWITCH cmd="open_dlg" param0="WSP_SEARCH_MODEL">
			
			<CASE value="0">
				<GOTO>WIRELESS_CI2_GUIDE_CONNECTION</GOTO>
			</CASE>
			
			<DEFAULT>
				<GOTO>WIRELESS_CI2_CHECKING_DEVICE</GOTO>
			</DEFAULT>
			
<!--						
			<CASE value="1">
				<GOTO>WIRELESS_CI2_CHECKING_DEVICE</GOTO>
			</CASE>
			
			<DEFAULT>
				<GOTO>WIRELESS_CI2_FOUND_LIST</GOTO>
			</DEFAULT>
-->	
		
		</SWITCH>
		
		
		<!--=============================================================================== 
				Guide Device Connect 
		===================================================================================-->
		
		<LABEL>WIRELESS_CI2_GUIDE_CONNECTION</LABEL>	
		<COMMAND cmd="OPEN_DLG" param0="WSP_CONNECT_DEVICE" step_dlg="TRUE"/>
		
		<LABEL>WIRELESS_CI2_SEARCH_USB_STEP</LABEL>		
		<SWITCH cmd="open_dlg" param0="WSP_SEARCH_MODEL">
			<CASE value="0"> <!-- Not found -->
				<COMMAND cmd="OPEN_DLG" param0="WSP_MODEL_NOT_FOUND"/>	
				<GOTO>WIRELESS_CI2_SEARCH_USB_STEP</GOTO>							
			</CASE>
						
			<DEFAULT>
				<GOTO>WIRELESS_CI2_CHECKING_DEVICE</GOTO>
			</DEFAULT>
			
<!--						
			<CASE value="1">
				<GOTO>WIRELESS_CI2_CHECKING_DEVICE</GOTO>
			</CASE>
			
			<DEFAULT>
				<GOTO>WIRELESS_CI2_FOUND_LIST</GOTO>
			</DEFAULT>
-->				
								
		</SWITCH>
		
		
		
		
		<!--================================================================================== 
			Found Printer List
		======================================================================================-->
		<LABEL>WIRELESS_CI2_FOUND_LIST</LABEL>
		<SWITCH cmd="OPEN_DLG" param0="WSP_LOCAL_FOUND_MODEL" step_dlg="TRUE">
			<CASE value="11"> <!-- Search Again -->
				<GOTO>WIRELESS_CI2_SEARCH_USB_STEP</GOTO> 
			</CASE>
		</SWITCH>
		
		
		
		<!--================================================================================== 
				Check Device 
		======================================================================================-->
		
		<LABEL>WIRELESS_CI2_CHECKING_DEVICE</LABEL>
		<SWITCH cmd="OPEN_DLG" param0="WSP_DEVICE_CHECKING" param1="WSP_CHECK">
			<!-- WSP_ERROR_NO_AP -->
			<!-- <CASE value="100"> 
				<COMMAND cmd="OPEN_DLG" param0="WSP_CHECKING_ERROR_NO_AP"/>
			</CASE>
			-->
			
			<CASE value="101"> <!-- ERROR_DEVICE_DATA -->
				<SWITCH cmd="OPEN_DLG" param0="WSP_CHECKING_ERROR_DEVICE_DATA">
					<CASE value="11"> <!-- Retry-->
						<GOTO>WIRELESS_CI2_CHECKING_DEVICE</GOTO>
					</CASE>
					<DEFAULT> 
						<!-- Shoud cancel DoModal -->					
						<COMMAND cmd="terminate"/>
					</DEFAULT>
				</SWITCH>
			</CASE>
			
			<CASE value="102"> <!-- ERROR_WLAN_SUPPORT -->
				<COMMAND cmd="OPEN_DLG" param0="WSP_CHECKING_ERROR_WLAN_SUPPORT"/>
				<!-- Shoud cancel DoModal -->	
				<COMMAND cmd="terminate"/>				
						
			</CASE>
			
			<DEFAULT>
				<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
			</DEFAULT>
		</SWITCH>	

		
		<!--================================================================================== 
				Check Device - Refresh
		======================================================================================-->
		
		<LABEL>WIRELESS_CI2_CHECKING_DEVICE_REFRESH</LABEL>
		<SWITCH cmd="OPEN_DLG" param0="WSP_DEVICE_CHECKING" param1="WSP_CHECK">
			<!-- WSP_ERROR_NO_AP -->
			<!-- <CASE value="100"> 
				<COMMAND cmd="OPEN_DLG" param0="WSP_CHECKING_ERROR_NO_AP"/>
			</CASE>
			-->
			
			<CASE value="101"> <!-- ERROR_DEVICE_DATA -->
				<SWITCH cmd="OPEN_DLG" param0="WSP_CHECKING_ERROR_DEVICE_DATA">
					<CASE value="11"> <!-- Retry-->
						<GOTO>WIRELESS_CI2_CHECKING_DEVICE</GOTO>
					</CASE>
					<DEFAULT> 
						<!-- Shoud cancel DoModal -->					
						<COMMAND cmd="terminate"/>
					</DEFAULT>
				</SWITCH>
			</CASE>
			
			<CASE value="102"> <!-- ERROR_WLAN_SUPPORT -->
				<COMMAND cmd="OPEN_DLG" param0="WSP_CHECKING_ERROR_WLAN_SUPPORT"/>
				<!-- Shoud cancel DoModal -->	
				<COMMAND cmd="terminate"/>				
						
			</CASE>
			
			<DEFAULT>
				<GOTO>WSP_CI2_FOUND_MODEL_STEP_REFRESH</GOTO>
			</DEFAULT>
		</SWITCH>					
				
		<!--============================================================================================ 
				Show Wireless Network List 
		================================================================================================-->
				
		<LABEL>WSP_CI2_FOUND_MODEL_STEP</LABEL>
		<COMMAND cmd="open_dlg" param0="WSP_SETTING_INFO" param1="WSP_INFO" step_dlg="TRUE"/>
				
		<LABEL>WSP_CI2_FOUND_MODEL_STEP_REFRESH</LABEL>
		<SWITCH cmd="open_dlg" param0="WSP_FOUND_MODEL" step_dlg="TRUE">						
			<CASE value="150"> <!-- 150 : Refresh -->
				<GOTO>WIRELESS_CI2_CHECKING_DEVICE_REFRESH</GOTO>
			</CASE>
			
			<CASE value="200"> <!-- 200 : Advanced Setting -->
				<COMMAND cmd="open_dlg" param0="WSP_ADVANCED_SETTING" step_dlg="TRUE"/>	
			</CASE>
			
			<CASE value="101"> <!-- 101 : WLAN_RESULT_WEP -->
				<COMMAND cmd="open_dlg" param0="WSP_SECURITY_WEP" step_dlg="TRUE"/>		
			</CASE>
			
			<CASE value="102"> <!-- 102 : WLAN_RESULT_WPA -->
				<COMMAND cmd="open_dlg" param0="WSP_SECURITY_WPA" step_dlg="TRUE"/>
			</CASE>	
										
			<!--WLAN_RESULT_NONE -->
			<!--
			<CASE value="100">  
			</CASE>
			-->
	
		</SWITCH>
		
		
		<!--========================================================================================= 
			Setting Confirm Dialog
		=============================================================================================-->	
		<LABEL>WSP_CI2_WIRELESS_CONFIRM_STEP</LABEL>
		<SWITCH cmd="open_dlg" param0="WSP_SETTING_CONFIRM" param1="WSP_CONFIRM" step_dlg="TRUE">	
										
			<CASE value="300"> <!-- 300 : WSP_CHANGE_PC_NET_SETTING -->						
				<COMMAND cmd="open_dlg" param0="WSP_SET_NET_PROTOCOL"/>
				<GOTO>WSP_CI2_WIRELESS_CONFIRM_STEP</GOTO>							
			</CASE>
	<!--
			<CASE value="1">
				<COMMAND cmd="open_dlg" param0="WSP_CHANGE_PC_NET_SETTING_DHCP"/>
			</CASE>
	
			<CASE value="2">
				<COMMAND cmd="open_dlg" param0="WSP_CHANGE_PC_NET_SETTING"/>								
			</CASE>						
	-->		
		</SWITCH>
		
		<!--========================================================================================= 
			Connecting Dialog if Self network
		=============================================================================================-->
		<LABEL>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</LABEL>
		<IF cmd="wsp_is_self"> 
			<TRUE>
				<SWITCH cmd="open_dlg" param0="WSP_WIRELESS_CONNECTING" param1="WSP_CONNECT">
					<CASE value="103"> <!-- 103 : WSP_ERROR_GENERAL -->
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE3">
							<CASE value="1"> <!-- 1 : Reconfiguration -->
								<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
							</CASE>
						
							<CASE value="2"> <!-- 2 : Accept current setting -->
								<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
							</CASE>
						
							<CASE value="3"> <!-- 3 : Reconnect -->
								<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
							</CASE>
						</SWITCH>
					</CASE>
					
					<CASE value="104"> <!-- 104 : WSP_ERROR_SSID -->
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE">
							<CASE value="1"> <!-- 1 : Reconfiguration -->
									<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
								</CASE>
							
								<CASE value="2">  <!-- 2 : Accept current setting -->
									<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
								</CASE>
							
								<CASE value="3"> <!-- 3 : Reconnect -->
									<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
								</CASE>
							</SWITCH>
					</CASE>
					
					<CASE value="105"> <!-- 105 : WSP_ERROR_SECURITY -->
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE4">
							<CASE value="1"> <!-- 1 : Reconfiguration -->
									<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
								</CASE>
							
								<CASE value="2"> <!-- 2 : Accept current setting -->
									<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
								</CASE>
							
								<CASE value="3"> <!-- 3 : Reconnect -->
									<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
								</CASE>
							</SWITCH>
					</CASE>
					
					<CASE value="106"> <!-- 106 : WSP_ERROR_PING_TEST -->
						<IF cmd="wsp_is_static_ip"> 
							<TRUE>
								<COMMAND cmd="open_dlg" param0="WSP_CHANGE_PC_NET_SETTING"/>
							</TRUE>
							<FALSE>
								<COMMAND cmd="open_dlg" param0="WSP_CHANGE_PC_NET_SETTING_DHCP"/>
							</FALSE>
						</IF>
					</CASE>	
					
					<CASE value="107"> <!-- 107 : WSP_ERROR_CONNECTED_WIRED -->
						<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE5">
							<CASE value="1"> <!-- 1 : Reconfiguration -->
									<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
								</CASE>
							
								<CASE value="2"> <!--  2 : Accept current setting -->
									<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
								</CASE>
							
								<CASE value="3"> <!-- 3 : Reconnect -->
									<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
								</CASE>
							</SWITCH>
					</CASE>							
				</SWITCH>	
			</TRUE>
		</IF>
		
		
		<!--========================================================================================= 
			Connecting Dialog
		=============================================================================================-->
		<LABEL>WSP_CI2_WIRELESS_CONNECTING_STEP</LABEL>
		<SWITCH cmd="open_dlg" param0="WSP_WIRELESS_CONNECTING" param1="WSP_CONNECT">
			<CASE value="103"> <!-- 103 : WSP_ERROR_GENERAL -->
				<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE3">
					<CASE value="1"> <!-- 1 : Reconfiguration -->
						<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
					</CASE>
				
					<CASE value="2">  <!-- 2 : Accept current setting -->
						<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
					</CASE>
				
					<CASE value="3"> <!-- 3 : Reconnect -->
						<IF cmd="wsp_is_self"> 
							<TRUE>
								<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
							</TRUE>
							<FALSE>
								<GOTO>WSP_CI2_WIRELESS_CONNECTING_STEP</GOTO>
							</FALSE>
						</IF>
					</CASE>
				</SWITCH>
			</CASE>
			
			<CASE value="104"> <!-- 104 : WSP_ERROR_SSID -->
				<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE">
					<CASE value="1"> <!-- 1 : Reconfiguration -->
						<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
					</CASE>
					
					<CASE value="2"> <!-- 2 : Accept current setting -->
						<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
					</CASE>
					
					<CASE value="3"> <!-- 3 : Reconnect -->
						<IF cmd="wsp_is_self"> 
							<TRUE>
								<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
							</TRUE>
							<FALSE>
								<GOTO>WSP_CI2_WIRELESS_CONNECTING_STEP</GOTO>
							</FALSE>
						</IF>
					</CASE>
				</SWITCH>
			</CASE>
			
			<CASE value="105"> <!-- 105 : WSP_ERROR_SECURITY -->
				<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE4">
					<CASE value="1"> <!-- 1 : Reconfiguration -->
						<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
					</CASE>
					
					<CASE value="2"> <!-- 2 : Accept current setting  -->
						<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
					</CASE>
					
					<CASE value="3"> <!-- 3 : Reconnect -->
						<IF cmd="wsp_is_self"> 
							<TRUE>
								<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
							</TRUE>
							<FALSE>
								<GOTO>WSP_CI2_WIRELESS_CONNECTING_STEP</GOTO>
							</FALSE>
						</IF>
					</CASE>
				</SWITCH>
			</CASE>
			
			<CASE value="106"> <!-- 106 : WSP_ERROR_PING_TEST -->
				<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE2">
					<CASE value="1"> <!-- 1 : Reconfiguration -->
						<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
					</CASE>
				
					<CASE value="2">  <!-- 2 : Accept current setting  -->
						<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>		
					</CASE>
				
					<CASE value="3"> <!-- 3 : Reconnect -->
						<IF cmd="wsp_is_self"> 
							<TRUE>
								<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
							</TRUE>
							<FALSE>
								<GOTO>WSP_CI2_WIRELESS_CONNECTING_STEP</GOTO>
							</FALSE>
						</IF>
					</CASE>
				</SWITCH>
			</CASE>	
			
			<CASE value="107"> <!-- 107 : WSP_ERROR_CONNECTED_WIRED -->
				<SWITCH cmd="open_dlg" param0="WSP_CONNECTING_FAILURE5">
					<CASE value="1"> <!-- 1 : Reconfiguration -->
						<GOTO>WSP_CI2_FOUND_MODEL_STEP</GOTO>
					</CASE>
					
					<CASE value="2">  <!-- 2 : Accept current setting  -->
						<GOTO>WSP_CI2_WIRELESS_RETURN_CANCEL</GOTO>			
					</CASE>
					
					<CASE value="3"> <!-- 3 : Reconnect -->
						<IF cmd="wsp_is_self"> 
							<TRUE>
								<GOTO>WSP_CI2_WIRELESS_SELF_NETWORK_CONNECTING_STEP</GOTO>
							</TRUE>
							<FALSE>
								<GOTO>WSP_CI2_WIRELESS_CONNECTING_STEP</GOTO>
							</FALSE>
						</IF>
					</CASE>
				</SWITCH>
			</CASE>							
		</SWITCH>


				
		<COMMAND cmd="open_dlg" param0="WSP_SETTING_COMPLETE" step_dlg="TRUE"/>
		<COMMAND cmd="terminate" param0="IDOK"/>
		
		<LABEL>WSP_CI2_WIRELESS_RETURN_CANCEL</LABEL>
		<COMMAND cmd="open_dlg" param0="WSP_SETTING_COMPLETE" step_dlg="TRUE"/>
		<COMMAND cmd="terminate" param0="IDCANCEL"/>
	</WSP_FLOW_PSU>
	
</FLOW>